package entity.User.dao;

import entity.User.model.User;

import java.util.List;

/**
 * Created by vanches on 28.12.14.
 */
public interface UserDAO {
    List getAllUser();
    void save(User user);
    void update(User user);
    void delete(User user);
    boolean checkLogin(String login);
    Object getUserById(int id);
    User login(String login, String pass);
}
